package ast.stmt;

import icg.EQLabel;
import ast.type.Type;

public abstract class Statement {
	protected EQLabel next;// = EQLabel.FALL;

	public Statement() {
		next = EQLabel.FALL;
	}

	public abstract void typeCheck(Type type);

	public Boolean isReturned() {
		return false;
	}

	public Boolean hasCtrlFlow() {
		return false;
	}

	public abstract void genCode();
}
